package model

type Department struct {
	ID             uint   `json:"ID" gorm:"primary_key"`
	DepartmentName string `json:"department_name" gorm:"type:varchar(50);not null;unique"`
	AutoName       string `json:"auto_name" gorm:"type:varchar(50)"`
	PID            int    `json:"pid"`
	Path           string `json:"path" gorm:"type:varchar(50)"`
	CreatedAt      Time   `json:"create_at" gorm:"type:datetime"`
	UpdatedAt      Time   `json:"updated_at" gorm:"type:datetime"`
}
